package com.bugsnag.ohos;

/**
 * Represents the type of error captured
 *
 * @since 2021-07-01
 */
public enum ErrorType {
    /**
     * An error captured from ohos's JVM layer
     */
    OHOS("ohos"),

    /**
     * An error captured from JavaScript
     */
    REACTNATIVEJS("reactnativejs"),

    /**
     * An error captured from Ohos's C layer
     */
    C("c");

    String desc;

    ErrorType(String desc) {
        this.desc = desc;
    }
}
